package com.topc.participant.service;

import com.topc.base.model.PageParams;
import com.topc.base.model.PageResult;
import com.topc.participant.model.po.CourseInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.topc.participant.model.vo.CourseShowVo;
import com.topc.participant.model.vo.PeopleShowVo;

import java.util.List;

/**
 * <p>
 * 课程信息 服务类
 * </p>
 *
 * @author itcast
 * @since 2024-01-25
 */
public interface ICourseInfoService extends IService<CourseInfo> {
    void updateInfoById(Long id, int status);

    PageResult<CourseShowVo>  searchByPage(PageParams pageParams, int status,Long groupId,String courseName);


    List<PeopleShowVo> getListAllPeople(Long id);

    void saveCourseInfo(CourseInfo courseInfo);

    void deleteCourseInfo(Long id);

    void updateCourseInfo(CourseInfo courseInfo);
}
